package net.guerlab.sdk.anubis.client;

import net.guerlab.sdk.anubis.request.AbstractRequest;
import net.guerlab.sdk.anubis.response.AbstractResponse;

/**
 * 蜂鸟开放平台请求客户端接口
 * 
 * @author guer
 *
 */
public interface AnubisClient {

    /**
     * 执行请求
     * 
     * @param request
     *            请求
     * @param <T>
     *            请求实体类型
     * @return 响应
     */
    <T extends AbstractResponse<?>> T execute(
            AbstractRequest<T> request);
}
